package com.vincent.tvlauncher.apis;

/**
 * Created by developer on 16-10-6.
 */
public interface ProtalApi {
    /**
     * 请request layout data
     * @param version if exists version, Server will compare with current plan's version
     */
    void getLayout(String version);

    /**
     * 获request workspace's data
     * @param planId you can get planId by #getLayout(version)
     * @param workSpaceId you can....
     */
    void getWorkSpaceContent(int planId, int workSpaceId);
}
